package entity;

public class User {
	private int id;
	private String email;
	private String accountName;
	private String phone;
	private String address;
	private String sex;
	private String accessToken;
	private int inUse;
	private String avatar;
	
	public User() {
		this.id = -1;
		this.email = "";
		this.phone = "";
		this.address = "";
		this.sex = "";
		this.accessToken="";
		this.inUse=0;
		avatar="";
	}

	public User(int id, String email,String phone,
			String address, String sex,String accessToken,int inUse,String avatar) {
		this.id = id;
		this.email = email;
		this.phone = phone;
		this.address = address;
		this.sex = sex;
		this.accessToken=accessToken;
		this.inUse=inUse;
		this.avatar=avatar;
	}
	
	public int getInUse() {
		return inUse;
	}

	public void setInUse(int i) {
		this.inUse = i;
	}

	public String getAccessToken() {
		return accessToken;
	}

	public void setAccessToken(String accessToken) {
		this.accessToken = accessToken;
	}

	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}
	
}
